package kuzmenkov.oip.model;

import java.util.Set;

/**
 * Class presents the db tables "producer"
 * User: Michael Kuzmenkov
 * Date: 18.03.2009
 * Time: 17:31:34
 */
public class Producer {
    /**
     * The primary key
     */
    private Long producerId;
    private String name;
    private String name_ru;
    /**
     * logo image 
     */
    private Image logo;

    private Set<Contact> contacts;
    private Set<Module> modules;

    public String getName_ru() {
        return name_ru;
    }

    public void setName_ru(String name_ru) {
        this.name_ru = name_ru;
    }

    public void setProducerId(Long producerId) {
        this.producerId = producerId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setLogo(Image logo) {
        this.logo = logo;
    }

    public Long getProducerId() {
        return producerId;
    }

    public String getName() {
        return name;
    }

    public Image getLogo() {
        return logo;
    }

    public Set<Contact> getContacts() {
        return contacts;
    }

    public void setContacts(Set<Contact> contacts) {
        this.contacts = contacts;
    }

    public Set<Module> getModules() {
        return modules;
    }

    public void setModules(Set<Module> modules) {
        this.modules = modules;
    }
}
